package com.getword.service;

import com.getword.domain.Admin;
import com.getword.domain.User;
import com.getword.web.model.Result;

import javax.servlet.http.HttpServletRequest;

public interface AdminService {
    /**
     * 注册admin
     */
    Result addAdmin(User user, String token);

    /**
     * 登录
     */
    Result login(User user, HttpServletRequest request);
}
